Utility.getAdapterHitTestArguments Method

Produces an object with consistent event argument information for data control hit testing.
 

Parameters

e

Type: jQuery.Event
adapter

Type: Adapter

Return Value


Type: Object
A plain object with properties:
     offsetX     [type: Number, optional: true]  - The horizontal pixel coordinate relative to the adapter container before scaling.
     offsetY     [type: Number, optional: true]  - The vertical pixel coordinate relative to the adapter container before scaling.
     pageX       [type: Number, optional: true]  - The horizontal pixel coordinate relative to the page after scaling.
     pageY       [type: Number, optional: true]  - The vertical pixel coordinate relative to the page after scaling.
     target      [type: Element, optional: true]  - The topmost DOM element located at the event coordinates.